Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for webpack v5: find dynamic chunks in stats.chunks #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

OliverJAsh
Copy link

Fixes #104

In webpack v5, assetsByChunkName does not contain dynamic chunks that were generated by splitChunks: webpack/webpack#14433

Therefore we have to find these assets in stats.chunks instead.

@OliverJAsh OliverJAsh force-pushed the webpack-v5-chunk-ids-string-named branch from 4e221af to c54b984 Compare October 8, 2021 17:23
@OliverJAsh OliverJAsh marked this pull request as ready for review October 8, 2021 17:23
@OliverJAsh OliverJAsh closed this Oct 12, 2021
@OliverJAsh OliverJAsh reopened this Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webpack v5: missing dynamic chunks generated by splitChunks when chunk IDs are strings
1 participant